package com.bla.service;


import com.bla.req.LeaderOrderRequest;

/**
 * @author yzw
 * @date 2022/1/23 12:30
 * @desc 团长订单service
 */
public interface LeaderOrderService {
    /**
     * 插入订单
     * @param request
     */
    void insertOrder(LeaderOrderRequest request);

    /**
     * 获取版本
     * @param orderId
     * @return
     */
    Integer getVersionByOrderId(String orderId);

    /**
     * 更新订单状态
     * @param request
     */
    void updateOrderStatusByOrderId(LeaderOrderRequest request);
}
